package ru.xpparty.scanner;

import java.net.InetAddress;
import java.util.Collection;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: vanger
 * Date: 19.12.10
 * Time: 14:21
 * To change this template use File | Settings | File Templates.
 */
public interface Scanner {

    public boolean isValid(int port);

    Map<Host, ResultEnum> scanRange(Collection<Host> adrs);

    public ResultEnum scanPort(Host host);
}
